package com.wysql.feign.client;

import com.wysql.feign.config.FeignName;
import com.wysql.feign.vo.XmkCityVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Component
@FeignClient(value = FeignName.PDWXMK)
public interface PdwxmkFeign {
    @PostMapping(value = "/xxwyspdwgh-pdwxmk/xmkCity/getAll")
    List<XmkCityVO> getAll();
}
